package com.creditharmony.car.loan.dao;

import org.springframework.stereotype.Component;
import com.creditharmony.car.common.base.dao.BaseDao;
import com.creditharmony.car.loan.entity.CarLoanCustomerEntity;
/**
 * 借款客户
 * @Class Name CarLoanCustomerDao
 * @author zqa
 * @Create In 2018年1月26日
 */
@Component
public interface CarLoanCustomerDao extends BaseDao<CarLoanCustomerEntity>{

    /**
     * 插入客户个人信息
     * @param record 客户个人信息数据
     */
    void insertCarCustomer(CarLoanCustomerEntity record);

    /**
     * 获取单条数据
     * @param loanCode 借款编号
     * @return 客户个人信息查询结果
     */
    CarLoanCustomerEntity selectByLoanCode(String loanCode);

    /**
     * 更新客户个人信息
     * @param record 客户个人信息数据
     */
    void updateCarLoanCustomer(CarLoanCustomerEntity record);
     
}
